package cn.touna.jss.modules.custom.carmodel.mapper;


import cn.touna.jss.modules.custom.carmodel.entity.JzgBrandEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface JzgBrandEntityMapper {

    int insert(JzgBrandEntity record);

    JzgBrandEntity selectByPrimaryKey(Integer id);

    int updateByBrandId(JzgBrandEntity record);

    List<JzgBrandEntity> selectByPage(
            @Param("pageSize") int pageSize,
            @Param("offset") int offset,
            @Param("brandName") String brandName
    );

    int selectCount(@Param("brandName") String brandName);
}